package com.inossem.warehousestorage_inossem.bean.query;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by leij on 2017/6/20.
 */

public class QueryWarehouseBean extends Bean {


    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"warehouseList":[{"warehouseNumber":"仓库号","warehouseDescription":"仓库描述","areaList":[{"areaNumber":"存储区号","areaDescription":"存储区描述"},{"areaNumber":"存储区号","areaDescription":"存储区描述"}]},{"warehouseNumber":"仓库号","warehouseDescription":"仓库描述","areaList":[{"areaNumber":"存储区号","areaDescription":"存储区描述"}]}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<WarehouseListBean> warehouseList;

        public List<WarehouseListBean> getWarehouseList() {
            return warehouseList;
        }

        public void setWarehouseList(List<WarehouseListBean> warehouseList) {
            this.warehouseList = warehouseList;
        }

        public static class WarehouseListBean {
            /**
             * warehouseNumber : 仓库号
             * warehouseDescription : 仓库描述
             * areaList : [{"areaNumber":"存储区号","areaDescription":"存储区描述"},{"areaNumber":"存储区号","areaDescription":"存储区描述"}]
             */

            private String warehouseNumber;
            private String warehouseDescription;
            private List<AreaListBean> areaList;

            public String getWarehouseNumber() {
                return warehouseNumber;
            }

            public void setWarehouseNumber(String warehouseNumber) {
                this.warehouseNumber = warehouseNumber;
            }

            public String getWarehouseDescription() {
                return warehouseDescription;
            }

            public void setWarehouseDescription(String warehouseDescription) {
                this.warehouseDescription = warehouseDescription;
            }

            public List<AreaListBean> getAreaList() {
                return areaList;
            }

            public void setAreaList(List<AreaListBean> areaList) {
                this.areaList = areaList;
            }

            public static class AreaListBean {
                /**
                 * areaNumber : 存储区号
                 * areaDescription : 存储区描述
                 */

                private String areaNumber;
                private String areaDescription;

                public String getAreaNumber() {
                    return areaNumber;
                }

                public void setAreaNumber(String areaNumber) {
                    this.areaNumber = areaNumber;
                }

                public String getAreaDescription() {
                    return areaDescription;
                }

                public void setAreaDescription(String areaDescription) {
                    this.areaDescription = areaDescription;
                }
            }
        }
    }
}
